import java.util.Arrays;
import java.util.Random;
import java.util.Scanner;
public class java21 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String[] names = new String[10];
        for (int i = 0; i < 10; ++i) {
            System.out.print("请输入第" + (i + 1) + "个人的名字: ");
            names[i] = in.nextLine();
        }
        System.out.println("随机点名: " + names[new Random().nextInt(names.length)]);
    }
}